package demo.learnspringboot.dto;


import io.swagger.v3.oas.annotations.media.Schema;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.springframework.stereotype.Component;

@Data
@Component
@AllArgsConstructor
@NoArgsConstructor

@Schema(name = "从前端返回到user信息")
public class userLoginDTO {

    @Schema(name = "user的账号名字")
    private String username;

    @Schema(name = "user的密码")
    private String password;
}
